Fix bug in BacklinkCache: the lack of an ORDER BY clause in getLinks(), combined...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 4 Dec 2009 01:55:05 +0000 (01:55 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 4 Dec 2009 01:55:05 +0000 (01:55 +0000)
commit1eae9941d9d18492e5ecc651b0d6dc7f02a5f30b
tree5d3315b1a167c7687301d6a5b23dbe2c6663054a
parentcee6cff6f681474e3eba2996ffb8af0fe5c78bce
Fix bug in BacklinkCache: the lack of an ORDER BY clause in getLinks(), combined with the lack of sensible indexes on the categorylinks table, was causing partition() to return starts and ends scaterred randomly across the result set. For large jobs, many partitions end up being large, causing HTMLCacheUpdate::doPartialUpdate() to repartition, thus requeueing jobs in an infinite recursive loop.

The BacklinkCache bug was there since r47317, but was relatively harmless until r54841 introduced the infinite loop issue.
RELEASE-NOTES
includes/BacklinkCache.php